﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using HRM.DAL.DAO;

namespace HRM.Models
{
    public class HRMDBContext:DbContext
    {
        public DbSet<Employee> Employees { get; set; }
        public DbSet<Project> Projects { get; set; }
        public DbSet<Catagory> Catagories { get; set; }
        public DbSet<Contact> Contacts { get; set; }
        public DbSet<Photo> Photos { get; set; }
        public DbSet<Code> Codes { get; set; }
        public DbSet<Designation> Designations { get; set; }

        public DbSet<Attendance> Attendances { get; set; }

        public DbSet<Certificate> Certificates { get; set; }

        public DbSet<Evaluation> Evaluations { get; set; }

        public DbSet<ProjectManager> ProjectManagers { get; set; }

        public DbSet<Increment> Increments { get; set; }

        public DbSet<Salary> Salaries { get; set; }

        public DbSet<LeaveApplication> LeaveApplications { get; set; }

        public DbSet<LeaveStatus> LeaveStatus { get; set; }

        public DbSet<Message> Messages { get; set; }
    }
}